<div class="col-md-12 p-0">
    <ul class="nav nav-tabs">
        <li class="active"><a href="" data-toggle="tab">属性筛选</a></li>
        <li class="pull-right">
            <div class="input-group width-350 height-25 ">
                <div class="input-group-btn ">
                    <button type="button" class="btn btn-primary p-0 height-25 width-75" id="stype">综合</button>
                    <button type="button" class="btn btn-primary dropdown-toggle p-0 p-l-5 p-r-5 height-25" data-toggle="dropdown">
                        <span class="caret"></span>
                    </button>
                    <input id="searchType" value="s_all" type="hidden">  <!--查询的类型-->
                    <ul class="dropdown-menu width-75" style="min-width: 75px">
                        <li><a href="javascript:void(0)" onclick="selectSearch(this);" data="s_all">综合</a></li>
                        <li><a href="javascript:void(0)" onclick="selectSearch(this);" data="s_name">姓名</a></li>
                        <li><a href="javascript:void(0)" onclick="selectSearch(this);" data="s_mobile">电话</a></li>
                        <li><a href="javascript:void(0)" onclick="selectSearch(this);" data="s_phone">手机</a></li>
                        <li><a href="javascript:void(0)" onclick="selectSearch(this);" data="s_chat">微信</a></li>
                        <li><a href="javascript:void(0)" onclick="selectSearch(this);" data="s_qq">QQ</a></li>
                        <li><a href="javascript:void(0)" onclick="selectSearch(this);" data="s_email">邮箱</a></li>
                    </ul>
                </div>
                <div class="input-group">
                    <input type="text" id="searchValue" class="form-control height-25 p-0 p-l-5 p-r-5 " />
                    <span class="input-group-addon"><a href="javascript:void(0);" onclick="$JuXue.refreshTable('sale_cusManage');"><i class="fa  fa-search"></i></a></span>
                </div>
            </div>
        </li>
    </ul>
    <table class="table table-default table-bordered m-b-0">
        <tbody>
            <tr>
                <th class="text-center m-b-0 p-0 col-md-2 bg-gray-dark" style="vertical-align: middle">客户阶段</th>
                <input id="slectcusStage" type="hidden" value="">
                <th class="col-md-9" id="customeTrack"></th>
            </tr>
            <tr>
                <th class="text-center m-b-0 p-0 col-md-2 bg-gray-dark" style="vertical-align: middle">标签</th>
                <input id="selectContion" type="hidden" value=""> <!--包含得标签-->
                <input id="selectNotContion" type="hidden" value=""><!--不包含得标签-->
                <input id="selecttagOnter" type="hidden" value=""><!--自定义标签-->
                <th class="col-md-9">
                    <div class="dropdown" id="labelselect">
                        <a type="button" class="btn btn-link m-l-10 p-3 f-s-10 border-dashed-1"  data-toggle="dropdown"><i class="fa fa-plus m-r-3"></i>筛选</a>
                        <ul class="dropdown-menu text-center width-450" >
                            <div class="panel panel-inverse m-b-0" data-sortable-id="ui-general-2">
                                <div class="panel-heading p-5" data-stopPropagation ="true" style="border-top-left-radius:9px;border-top-right-radius:9px">
                                    <h4 class="panel-title text-left">选择标签</h4>
                                </div>
                                <form id="formHorrm" class="form-horizontal">
                                    <div class="panel-body p-3 height-250 overflow-auto" id="selectTag" data-stopPropagation ="true"></div>
                                </form>
                                <div class="panel-footer text-right" data-stopPropagation ="true">
                                    <a href="javascript:void(0)" onclick="$('#labelselect').removeClass('open')" class="label label-danger m-r-5 ">取消</a>
                                    <a href="javascript:void(0)" onclick="labelSelectSure();" class="label label-primary m-r-5 " >确定</a>
                                </div>
                            </div>
                        </ul>
                        <span id="otherselect">
                            <a type="button" class="btn btn-link m-l-10 p-3 f-s-10 btn-primary" onclick="selectTagByOther(this)" data-click="">不限</a>
                            <a type="button" class="btn btn-link m-l-10 p-3 f-s-10 " onclick="selectTagByOther(this)" data-click="notag">无标签</a>
                        </span>
                        <span id="drownSelect"></span>
                    </div>
                </th>
            </tr>
            <tr>
                <th class="text-center m-b-0 p-0 col-md-2 bg-gray-dark" style="vertical-align: middle">
                    <div class="dropdown">
                        <input type="hidden" id="timeSelect" value="">
                        <a href="javascript:;" class="email-header-link" data-toggle="dropdown">客户创建时间 <i class="fa fa-angle-down m-l-5"></i></a>
                        <ul class="dropdown-menu text-left" style="left: 25%;">
                            <li class="active" onclick="dynTime(btn)" time = '1'><a href="javascript:;">动态更新时间</a></li>
                        </ul>
                    </div>
                </th>
                <th class="col-md-9" id="timeRemove">
                    <input type="hidden" id="starttime" name="starttime" value="">
                    <input type="hidden" id="endtime" name="endtime" value="">
                    <button type="button" class="btn btn-link m-l-10 p-3  btn-primary" onclick="selectMyTime(this)" data-click="">不限</button>
                    <button type="button" class="btn btn-link m-l-10 p-3 " onclick="selectMyTime(this)" data-click="selft">自定义</button>
                    <button id="select_time"type="button" class="btn btn-white m-l-10  width-300 hidden">
                        <span></span><i class="fa fa-angle-down fa-fw"></i>
                    </button>
                </th>
            </tr>
            <tr>
                <th class="text-center m-b-0 p-0 col-md-2 bg-gray-dark" style="vertical-align: middle">员工</th>
                <input id="genjiren" value="" type="hidden">
                <th class="col-md-9">
                    <div class="dropdown" id="saleUsersManage">
                        <a type="button" class="btn btn-link m-l-10 p-3 f-s-10 border-dashed-1"  data-toggle="dropdown"><i class="fa fa-plus m-r-3"></i>筛选</a>
                        <ul class="dropdown-menu  width-150" >
                            <div class="panel panel-inverse m-b-0" data-sortable-id="ui-general-2">
                                <div class="panel-heading p-5" data-stopPropagation ="true" style="border-top-left-radius:9px;border-top-right-radius:9px">
                                    <h4 class="panel-title text-left">选择员工</h4>
                                </div>
                                <div class="panel-body p-3 height-250 width-150 overflow-auto"  data-stopPropagation ="true">
                                    <div id="sale_user_manage"></div>
                                </div>
                                <div class="panel-footer text-right" data-stopPropagation ="true">
                                    <a href="javascript:void(0)" onclick="$('#saleUsersManage').removeClass('open')" class="label label-danger m-r-5 ">取消</a>
                                    <a href="javascript:void(0)" onclick="selectUserList()" class="label label-primary m-r-5 " >确定</a>
                                </div>
                            </div>
                        </ul>
                        <a id="nouserSelect">
                            <a type="button" class="btn btn-link m-l-10 p-3 f-s-10 btn-primary"  data-click="">不限</a>
                        </a>
                        <span id="otherUserSelect"></span>
                    </div>
                </th>
            </tr>
            <tr>
                <th class="text-center m-b-0 p-0 col-md-2 bg-gray-dark" style="vertical-align: middle">其他选项</th>
                <th class="col-md-9">
                    <div class="input-group width-100 pull-left">
                        <div class="input-group-btn">
                            <input type="hidden" id="selectPlanId" value="">
                            <button type="button" class="btn btn-link m-l-10 p-3 f-s-10 border-solid-1 dropdown-toggle" data-toggle="dropdown">
                            <span id="selectPaln">是否有销售计划</span><i class="fa fa-sort-desc"></i>
                            </button>
                            <ul class="dropdown-menu width-150" id="selectPlanButton" >
                                <li class="pull-left width-50"> <button type="button" onclick="selectSalePlan(this)" data-id="" class="btn btn-link m-l-10 p-3 f-s-12 btn-primary ">不限</button></li>
                                <li class="pull-left width-30"><button type="button" onclick="selectSalePlan(this)" data-id="1" class="btn btn-link m-l-10 p-3 f-s-12  ">有</button></li>
                                <li class="pull-left width-30"><button type="button" onclick="selectSalePlan(this)" data-id="2" class="btn btn-link m-l-10 p-3 f-s-12 ">无</button></li>
                            </ul>
                        </div>
                    </div>
                    <div class="input-group  width-100 pull-left">
                        <div class="input-group-btn">
                            <input type="hidden" id="tongTool" value="">
                             <input type="hidden" id="typeTool" value="">
                            <button type="button" class="btn btn-link m-l-10 p-3 f-s-10 border-solid-1 dropdown-toggle" data-toggle="dropdown">
                                <span id="selectTool">通讯工具筛选</span><i class="fa fa-sort-desc"></i>
                            </button>

                            <ul class="dropdown-menu width-300" id="selectButton">
                                <li class="pull-left width-50"><button onclick="selectTool(this)" data-id="" data-click="" type="button" class="btn btn-link m-l-10 p-3 f-s-12 btn-primary ">不限</button></li>
                                <li class="pull-left width-50"><button onclick="selectTool(this)" data-id="1" data-click="1" type="button" class="btn btn-link m-l-10 p-3 f-s-12 ">有QQ</button></li>
                                <li class="pull-left width-50"><button onclick="selectTool(this)" data-id="1" data-click="2" type="button" class="btn btn-link m-l-10 p-3 f-s-12 ">无QQ</button></li>
                                <li class="pull-left width-50"><button onclick="selectTool(this)" data-id="2" data-click="1" type="button" class="btn btn-link m-l-10 p-3 f-s-12">有邮箱</button></li>
                                <li class="pull-left width-50"><button onclick="selectTool(this)" data-id="2" data-click="2" type="button" class="btn btn-link m-l-10 p-3 f-s-12">无邮箱</button></li>
                            </ul>
                        </div>
                    </div>
                    <div class="input-group  width-100 pull-left">
                        <div class="input-group-btn">
                            <input type="hidden" id="SourType" value="">
                            <button type="button" class="btn btn-link m-l-10 p-3 f-s-10 border-solid-1 dropdown-toggle" data-toggle="dropdown">
                                <span id="selecttype">资源类型筛选</span><i class="fa fa-sort-desc"></i>
                            </button>
                            <ul class="dropdown-menu width-350" id="selecttypeButton">
                                <li class="pull-left width-50"><button onclick="selectmySourType(this)" data-id="" data-click="" type="button" class="btn btn-link m-l-10 p-3 f-s-12 btn-primary ">不限</button></li>
                                <li class="pull-left width-75"><button onclick="selectmySourType(this)" data-id="1"  type="button" class="btn btn-link m-l-10 p-3 f-s-12 ">推广资源</button></li>
                                <li class="pull-left width-75"><button onclick="selectmySourType(this)" data-id="2"  type="button" class="btn btn-link m-l-10 p-3 f-s-12 ">网校资源</button></li>
                                <li class="pull-left width-75"><button onclick="selectmySourType(this)" data-id="3"  type="button" class="btn btn-link m-l-10 p-3 f-s-12">大资源</button></li>
                                <li class="pull-left width-75"><button onclick="selectmySourType(this)" data-id="4"  type="button" class="btn btn-link m-l-10 p-3 f-s-12">个人资源</button></li>
                            </ul>
                        </div>
                    </div>
                </th>
            </tr>
        </tbody>
    </table>
    <table id="sale_cusManage"  data-mobile-responsive="true"  class="table table-bordered scrolltable "></table>
</div>

<input type="hidden" id="customer_ids" value="">
<input type="hidden" id="customer_uuid" value="">
<input type="hidden" id="customer_type" value="1">

<script data-th-src="@{customer/center/saleManage/sale_customer_manage.js}"></script>